home *** CD-ROM | disk | FTP | other *** search
/ Software of the Month Club 2000 October / Software of the Month - Ultimate Collection Shareware 277.iso / pc / PROGRAMS / UTILITY / WINLINUX / DATA1.CAB / programs_-_include / ASM-I386 / DELAY.H < prev    next >
C/C++ Source or Header  |  1999-09-17  |  424b  |  19 lines

  1. #ifndef _I386_DELAY_H
  2. #define _I386_DELAY_H
  3.  
  4. /*
  5.  * Copyright (C) 1993 Linus Torvalds
  6.  *
  7.  * Delay routines calling functions in arch/i386/lib/delay.c
  8.  */
  9.  
  10. extern void __udelay(unsigned long usecs);
  11. extern void __const_udelay(unsigned long usecs);
  12. extern void __delay(unsigned long loops);
  13.  
  14. #define udelay(n) (__builtin_constant_p(n) ? \
  15.     __const_udelay((n) * 0x10c6ul) : \
  16.     __udelay(n))
  17.  
  18. #endif /* defined(_I386_DELAY_H) */
  19.